package com.gitee.wsl.unit.length.ext

import com.gitee.wsl.unit.length.LengthUnit
import com.gitee.wsl.unit.speed.SpeedUnit
import kotlin.time.Duration
import kotlin.time.Duration.Companion.seconds


operator fun LengthUnit.div(speed: SpeedUnit): Duration = (toBase() / speed.toBase()).toDouble().seconds
